package com.bristua.barcode.customer.dao;

import com.bristua.barcode.customer.model.TCustomerBank;
import com.bristua.barcode.customer.model.condition.TCustomerBankExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TCustomerBankMapper {
    long countByExample(TCustomerBankExample example);

    int deleteByExample(TCustomerBankExample example);

    int deleteByPrimaryKey(String bankId);

    int insert(TCustomerBank record);

    int insertSelective(TCustomerBank record);

    List<TCustomerBank> selectByExample(TCustomerBankExample example);

    TCustomerBank selectByPrimaryKey(String bankId);

    int updateByExampleSelective(@Param("record") TCustomerBank record, @Param("example") TCustomerBankExample example);

    int updateByExample(@Param("record") TCustomerBank record, @Param("example") TCustomerBankExample example);

    int updateByPrimaryKeySelective(TCustomerBank record);

    int updateByPrimaryKey(TCustomerBank record);

    int batchUpdate(@Param("recordList") List<TCustomerBank> recordList);

    int batchInsert(@Param("recordList") List<TCustomerBank> recordList);

    int batchDelete(@Param("ids") String[] ids);
}